package com.wangsd.web.face.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangsd.web.face.entity.ReceiveRecord;
import com.wangsd.web.face.entity.Receiver;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author generator
 * @since 2019-09-17
 */
public interface ReceiverService extends IService<Receiver> {

    IPage<Receiver> selectList(Integer pageNum, Integer pageSize, Receiver device);

    void addOrUpdate(Receiver device);

    List<Receiver> selectAllByUserCode(String code);

    List<Receiver> selectByMerchantId(Long merchantId);

    List<ReceiveRecord> selectPaymentByOrderId(Long id);
}
